<?php
  require_once('library.php');
  
    $sql = 'SELECT userId FROM `users` WHERE userId = ?';
  $result = $dbRead->fetchAll($sql,$_GET['userId']);
	     $dbWrite->delete('users','userId='.$_GET['userId']);
	     header('Location: ../UserList.php');
